package marker.micro.oauth.controller;

import java.security.Principal;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebController {

    @GetMapping(value = "/current")
    public Principal getUser(Principal principal) {
	return principal;
    }

}
